/**
 * 
 */
package 枚举;

/**
 * @author Administrator
 *
 */
public enum Week3 {
	MON("星期一") {
		@Override
		public void show() {
     System.out.println("星期一");
		}
	},
	TUH("星期二") {
		@Override
		public void show() {
			System.out.println("星期二");
		}
	},
	WED("星期三") {
		@Override
		public void show() {
			System.out.println("星期三");
		}
	};

	private String name;

	public String getName() {
		return name;
	}

	private Week3(String name) {
		this.name = name;
	}

	public String toString() {
		return name;
	}

	public abstract void show();
}
